package com.kcyu.sfherp.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.sql.Timestamp;

@Data
@TableName("orchmx")
public class OrderDetail {

    @TableId
    private Integer id;
    private String spbh;
    private String spname;
    private String dw;
    private String dw2;
    private Float jg;
    private Float jj;
    private Float js;
    private Float xs;
    private Float je;
    @TableField(exist = false)
    private Float ml;

    private Float netweight;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Timestamp rq;

}
